#ifndef __BASETASK_H__
#define __BASETASK_H__

#include <any>
#include "HDefine.h"

HTHREADPOOL_NAMESPACE_BEGIN
    class AbstractTask
    {
    public:
        explicit AbstractTask() = default;
        virtual void execute()  = 0;
        virtual ~AbstractTask() = default;
    };
HTHREADPOOL_NAMESPACE_END

#endif
